#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
	int n, x;
	cin >> n;
	n = INT_MAX;
	int ans = 0, cnt = 0;
	while (cin >> x) {
		if (x > n)
			cnt++;
		else
			cnt = 1;
		n = x;
		ans = max(ans, cnt);
	}
	cout << ans;
	return 0;
}
